using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.ComponentModel;
using System.Data.Linq.Mapping;

namespace CapstoneWinPhone.Data
{
    public class User
    {
        public string _username { get; set; }
        public string _password { get; set; }
        public string _email { get; set; }
        public ObservableCollection<MileageReport> _MileageReports { get; private set; }
        public ObservableCollection<ExpenseLog> _ExpenseLogs { get; private set; }
        public ObservableCollection<WeeklyTimeStamps> _WeeklyTimeStamps { get; private set; }
        public double GPS_UpdateSpeed { get; set; }

        public User(string userName, string password, string email)
        {
            _username = userName;
            _password = password;
            _email = email;
            _MileageReports = new ObservableCollection<MileageReport>();
            _ExpenseLogs = new ObservableCollection<ExpenseLog>();
            _WeeklyTimeStamps = new ObservableCollection<WeeklyTimeStamps>();
            GPS_UpdateSpeed = 10.0;
        }

        public User()
        {

        }
    }
}
